package net.joke.base.systems;

import net.joke.base.Config;
import net.joke.base.components.Position;

import org.anddev.andengine.entity.scene.Scene;

import com.artemis.Entity;
import com.artemis.IntervalEntitySystem;
import com.artemis.utils.ImmutableBag;

public class MinionSpawnSystem extends IntervalEntitySystem {

	private long now;
	public MinionSpawnSystem(int interval) {
		super(interval, Position.class);
	}

	@Override
	public void initialize() {
	}
	
	@Override
	protected void processEntities(ImmutableBag<Entity> entities) {
		Config.minionSpawn.spawnMinion(world);
	}
}
